<?php
use yii\helpers\Html;
foreach ($country as $key=>$value){
    var_dump($value->name);
}
?>
<?/*= Html::encode($country); */?>
